Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable strategy for consuming multiple topics #363

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

bestie
Copy link
Contributor

@bestie bestie commented Jan 18, 2024

The current ConsumerSet implementation will only switch topics when the current topic returns no messages after the poll timeout.

This is not practical when one or more of the topics has a 'high' message volume as the broker will always return a message and Racecar may never switch to poll the other topics.

  • 'high' here means message frequency (hz) > poll interval (s).

The current ConsumerSet implementation will only switch topics when the
current topic returns no messages after the poll timeout.

This is not practical when one or more of the topics has a 'high' message
volume as the broker will always return a message and Racecar may never
switch to poll the other topics.

* 'high' here means message frequency (hz) > poll interval (s).
@bestie bestie requested a review from iuliabirleanu January 18, 2024 15:12
@dasch
Copy link
Contributor

dasch commented Jan 18, 2024

Any reason to make this configurable? Round robin seems like the only setup that makes sense here...

@deepredsky deepredsky merged commit e4ed888 into zendesk:master Jan 24, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants